const routes = [
    
    {
      path:'/login',
      name:'SecurityLogin',
      component:() => import('@/security/login/index.vue'),
    },
    {
      path:"/",
      name:'Index',
      redirect:'/home'
    },
    // {
    //   path:'/login',
    //   name:'Login',
    //   component:() => import('@/login.vue'),
    // },
    {
      path:"/home",
      name:'home',
      component:() => import('@/home.vue'),      
      children:[
        {
          path:'/security/user',
          name:'SecurityUser',
          component:() => import('@/security/user/index.vue'),
        },
        {
          path:'/security/role',
          name:'SecurityRole',
          component:() => import('@/security/role/index.vue'),
        },
        {
          path:'/info/emp',
          name:'InfoEmp',
          component:() => import('@/info/emp/index.vue'),
        },
      ]
    }
  ];

  export const myObj = {name:'Hello'};

  export const myFun = ()=>{console.log('myFun');};

  export default routes;